@extends('layouts.admin')
@section('style')
    <style type="text/css">
        .layui-table tr td:first-child{
            text-align:right;
        }
    </style>
@endsection
@section('content')
    <div class="admin_main">
        <div class="admin_header_fixed">
            <div class="admin_header clearfix">
                <div class="title"><i></i>订单详情</div>
                <div class="action">
                    <b></b>
                    <div class="layui-btn-group layui-btn-group-only">
                        <a class="layui-btn layui-btn-primary layui-btn-small " href="{{ url('order') }}">
                            <i class="fa fa-reply"></i> 返回列表
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <div class="admin_base">
            <div class="box_form">
                <div class="box_content">
                    <div class="layui-tab layui-tab-brief">
                        <ul class="layui-tab-title">
                            <li class="layui-this">基本信息</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item layui-show">
                                <table class="layui-table" lay-skin="nob">
                                    <colgroup>
                                        <col width="150">
                                        <col width="">
                                    </colgroup>
                                    <tbody>
                                        <tr><td>添加时间：</td><td>{{ $vo->created_at }}</td></tr>
                                        <tr><td>来源：</td><td>{{ $vo->viewcontent('source') }}</td></tr>
                                        <tr><td>操作员：</td><td>{{ !is_null($vo->user)?'['.$vo->user_id.']'.$vo->user->nickname:'' }}</td></tr>
                                        <tr><td>订单时间：</td><td>{{ $vo->order_time }}</td></tr>
                                        <tr><td>订单编号：</td><td>{{ $vo->order_no }}</td></tr>
                                        <tr><td>买家账号：</td><td>{{ $vo->account_no }}</td></tr>
                                        <tr><td>所属店铺：</td><td>{{ !is_null($vo->shop)?$vo->shop->title:'' }}</td></tr>
                                        <tr><td>宝贝ID：</td><td>{{ $vo->item_id }}</td></tr>
                                        <tr><td>宝贝标题：</td><td>{{ $vo->item_title }}</td></tr>
                                        <tr><td>宝贝价格：</td><td>{{ $vo->price }}</td></tr>
                                        <tr><td>订单状态：</td><td>{{ $vo->viewcontent('status') }}</td></tr>

                                        <tr><td>应付佣金：</td><td>{{ $vo->commission }}</td></tr>
                                        <tr><td>实付金额：</td><td>{{ $vo->money_sj }}</td></tr>
                                        @if($vo->comm!='')
                                        <tr><td>备注：</td><td>{{ $vo->comm }}</td></tr>
                                        @endif
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="admin_bottom"></div>
    </div>
@endsection
@section('script')
@endsection